4D Chart v13CT SET LINE ATTRIBUTES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT SET LINE ATTRIBUTES
|
CT SET LINE ATTRIBUTES ( area ; scope ; pattern ; color ; lineWidth ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
scope | Longint |
![]() |
Scope of the command -2 = Default -1 = All 0 = Selected objects >0 = Object ID | |||||
pattern | Integer |
![]() |
Pattern (0 to 36) -1 = No change | |||||
color | Longint |
![]() |
Color value -1 = No change | |||||
lineWidth | Real |
![]() |
Line width (in points) -1 = No change | |||||
The CT SET LINE ATTRIBUTES command changes the line attributes for the object(s) in area described by scope. For objects other than lines, the line attributes apply to the object’s border.
pattern is the number of the pattern in the palette. Codes for the pattern parameter are as follows:
color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.
lineWidth is the width of the line, measured in points.
Note: Use this command to set the attributes of lines added to the document using the Line tool or the CT Draw line function. To set the attributes of chart lines, such as grid lines, use the commands in the Chart theme.
This example sets the selected object’s line attributes to solid, blue, 3 points.
CT SET LINE ATTRIBUTES(Area;0;3;CT Index to color(6);3)
Product: 4D Chart
Theme: CT Objects
Number:
14571
Created: 4D Chart 1
CT GET LINE ATTRIBUTES
CT SET CHART LINE ATTRIBUTES
CT SET LINES ATTRIBUTES